package testing.observer
{
	// concrete observer
	public class ObsConcreteObserver implements ObsObserver
	{
		internal var subName:String;
		private var light:String;
		
		public function update(light:String):void {
			this.light = light;
		}
		
		public function ObsConcreteObserver(subName:String):void
		{
			trace("--> concrete observer " + subName + " has subscribed.");
			this.subName = subName;
		}
		
		

	}
}